<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div id="join_page">
	<header>
		<div id="title">
			<b>[회원 가입]</b>
		</div>
		
		<div id="bar">
		</div>
	</header>
	
	<section id="join_form">
		<form:form id="join" action="memberjoin" modelAttribute="member">
			<fieldset>
				<legend>사용자 기본정보</legend> 
				<label>사용자 ID</label> 
					${guest.memberId }<br>
				<label>이름</label> ${guest.name }<br>
				<label>성별</label> ${guest.gender }<br>
				<label>생년월일</label> ${guest.dateOfBirth }<br>
				<label>연락처</label>${guest.phoneNumber }<br>
				<label>이메일</label> ${guest.email }<br>
			</fieldset>
			
			<fieldset>
				<legend>사용자 (추가정보)</legend>
				<label>대학교</label> ${guest.university }<br>
				<label>전공</label> ${guest.major }<br>
				<label>졸업연도</label> ${guest.graduatedYear }<br>
				<label>주소</label> ${guest.address }<br>
			</fieldset>	
			
			
			<!-- 수정버튼 처리 -->
			<div class="clear"></div>
			<div id="buttons">
				<input name="b_submit" type="submit" value="수정" class="submit" > 
			</div>
		</form:form>
	</section>
</div>